class TestRouter {
    constructor(router) {

        router.get('/login', function (req, res, next) {
           let time = (new Date()).toTimeString()
            res.send(time)
        })
        router.get('/list', function (req, res, next) {

        })

        router.get('/get_data', function (req, res) {
            res.jsonp({
                name: 'admin',
                age: 99
            })
        })

    }
}

module.exports = TestRouter
